home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19980424-19980901 / 000065_news@newsmaster….columbia.edu _Mon May 11 01:10:44 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA13352
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 11 May 1998 01:10:44 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id BAA09755
  7.     for kermit.misc@watsun; Mon, 11 May 1998 01:10:43 -0400 (EDT)
  8. Path: news.columbia.edu!panix!nntprelay.mathworks.com!newsfeed.internetmci.com!207.103.147.20!news.voicenet.com!news2.voicenet.com.POSTED!not-for-mail
  9. From: cmosley@voicenet.com (Christopher Mosley)
  10. Subject: Re: Gnu ls and ansi color
  11. Newsgroups: comp.protocols.kermit.misc
  12. References: <mko51.78$%T6.1215229@news3.voicenet.com> <6j5oug$hfn$1@apakabar.cc.columbia.edu>
  13. X-Newsreader: TIN [version 1.2 PL2]
  14. Lines: 59
  15. Message-ID: <0lv51.114$h05.1551509@news2.voicenet.com>
  16. Date: Mon, 11 May 1998 04:42:36 GMT
  17. NNTP-Posting-Host: omni2.voicenet.com
  18. NNTP-Posting-Date: Mon, 11 May 1998 00:42:36 EST
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:8717
  20.  
  21. Jeffrey Altman (jaltman@watsun.cc.columbia.edu) wrote:
  22. : In article <mko51.78$%T6.1215229@news3.voicenet.com>,
  23. : Christopher Mosley <cmosley@voicenet.com> wrote:
  24. : : 
  25. : : 
  26. : :   Gnu "ls" was presumably written to be used with vt terminal/emulation or
  27. : : something similar and two of the default term types assumed by the "ls" 
  28. : : configuration utility ("dircolors") _are_ vt100 and xterm?  I know nothing
  29. : : of ansi or vt standards?/conventions? (I don't think it would be a formal
  30. : : standard, afterall a vt100 is not really a color terminal) and am wondering
  31. : : why this  _apparent_  discrepancy exists.  
  32.  
  33. : What terminal type are you specifying on your host?
  34.  
  35. : You are most likely seeing a combination of two completely separate
  36. : factors:
  37.  
  38. : (1) the VT color palette which was defined by the VT340 terminal is
  39. :     different from the color palette used by "ANSI" terminals such
  40. :     as SCO ANSI and AT386.  The VT color palette is used by the 
  41. :     Linux console.
  42.  
  43. : (2) The escape sequences sent when SCOANSI is the current terminal
  44. :     type are different from those that are sent when the terminal
  45. :     type is either VT320 or LINUX.
  46.  
  47. :     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  48. :                  The Kermit Project * Columbia University
  49. :               612 West 115th St #716 * New York, NY * 10025
  50. :   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org
  51.  
  52.  
  53.  
  54. I realize now what the problem was, I had forgotten that I had added some
  55. lines to my vt220 TERM info: setab=...  setaf=... (set ansi foreground &
  56. backround)  op=... to allow colors to work in ncurses lynx. This version
  57. of lynx only implements color if it explicitly defined in the TERM  such as
  58. an xterm-color TERM, unlike slang lynx.  These changes did odd things to the
  59. colors using gnu "ls" in mskermit vt emulation but were ok when mskermit
  60. was set to ansi-bbs emulation.
  61.  
  62. Yes, the difference in the way vt220 emulation and ansi-bbs display ansi
  63. images is just the difference in the ansi and vt color pallettes and had
  64. nothing to do with the "ls" problem.
  65.   
  66.  Now the colors in "ls" are correct and the same in both mskermit ansi-bbs or
  67.  vt220 emulation.      
  68.                                                               Thanks
  69.  
  70.  
  71.  
  72.